﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QQTools.Data.Enums.AddGroup
{
    public enum AddGroupQQStatus
    {
        /// <summary>
        /// 批次1
        /// </summary>
        Batch1 = 1,
        /// <summary>
        /// 批次2
        /// </summary>
        Batch2 = 2,

    }

    public static class AddGroupQQStatusExtensions
    {
        public static string ToChineseString(this AddGroupQQStatus status)
        {
            switch (status)
            {
                case AddGroupQQStatus.Batch1:
                    return "1";
                case AddGroupQQStatus.Batch2:
                    return "2";
                default:
                    return "-";
            }
        }

        public static string ToChineseDString(this AddGroupQQStatus status)
        {
            switch (status)
            {
                case AddGroupQQStatus.Batch1:
                    return "批次一";
                case AddGroupQQStatus.Batch2:
                    return "批次二";
                default:
                    return "未知";
            }
        }
    }
}
